All Questions
1 question
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
42votes
2answers
169kviews
How to insert variables inside a string containing ""?
I want to construct an xml string by inserinting variables: str1="Hello" str2="world" xml='<?xml version="1.0" encoding="iso-8859-1"?><tag1>$str1</tag1><tag2>$str2</tag2&...
- The Overflow Blog
- Featured on Meta
Related Tags
bash × 1
Hot Network Questions
- If a layman from the Eastern Rite is elected Pope, which Rite are they ordained under before becoming Pope?
- How to reconcile old school tropes with modern sensibilities?
- Selecting single role for Postgresql user
- Estimating topological errors of a CCZ factory
- Spoke tension question
- How does SQL Server maintain rowcount metadata?
- Attack bonus for a casterless Arcane Hand
- Is it normal that my phd supervisor raises new questions for me to revise every time after reviewing my manuscript?
- Why do the infected not attack each other?
- What are the fundamental differences between the vielbein formalism and Riemann normal coordinates?
- Could OLS miss statistically significant coefficient because it's too small?
- Updating preprint on medRxiv to link to published paper
- Inductive kickback requires a capacitor to "kick back"?
- What is this 3-pole LED striplight mains connector?
- Riddle in Cheshire Crossing comic
- Is there an order preserving injection between unwell orders?
- How to differentiate the Chinese Translation for "Specialized High Schools" and "Special Education School"?
- Boids by Simon Woods: can we re-invent further efficient flocking models to forge complexity from simple rules?
- Are these chainrings or cassette cooked? 3 year old road bike
- Physics equations with universal meaning possible?
- Algebraic proof that the left Maurer-Cartan form is well defined
- Is the rapid oxidation change from reddish-brown to black in copper dust after sanding a copper plate due to the dust's small particle size/exposure?
- Is it known whether Free Complete Heyting Algebras Exist?
- Why isn't a misfiled attorney-client memo fair game for use in a trial?